<template>
  <div class="line">
    <div class="left">{{ data.message }}</div>
    <div class="right" style="color: #f66c6c">({{ data.num }})</div>
  </div>
</template>

<script>
export default {
  props: {
    data: {
      type: Object,
      default() {
        return {}
      }
    }
  }
}
</script>

<style lang="scss" scoped>
.line {
  align-items: center;
  padding: 10px 5px;
  height: 40px;
  width: 440px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eaeaea;
  font-size: 16px;
}
</style>
